//
//  NSStringManager.h
//  KEREN
//
//  Created by MW on 2023/3/17.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSStringManager : NSObject
+ (instancetype)shareInstance;
- (BOOL)judgePassWordLegal:(NSString *)pass;
- (BOOL)checkPhone:(NSString *)phone;
-(float)measureMutilineStringHeight:(NSString*)str andFont:(UIFont*)wordFont andWidthSetup:(float)width;
- (float)measureSinglelineStringWidth:(NSString*)str andFont:(UIFont*)wordFont;
- (CGSize)measureSinglelineStringSize:(NSString*)str andFont:(UIFont*)wordFont;
@end

NS_ASSUME_NONNULL_END
